﻿@{
    ViewBag.subtitle = "管理首页";
    ViewBag.Title = "管理首页";
    var report = Presentation.Web.Admin.PreAdminEngine.Resolve<Application.Admin.Report.IReportService>();
}
<h4 class="alert_info">
    欢迎来到IMAP后台管理中心</h4>
<article class="module width_full">
    <header><h3 style = " width:80%;">统计情况</h3>
        <a href = "http://www.umeng.com/users/sign_in" target = "_blank" style = " float:right;font-size: 13px;margin: 8px 20px;text-shadow: 0 1px 0 #FFFFFF;text-transform: uppercase;">更多</a>
        @Html.ActionLink("导出数据", "homeexporttoword", "export", null, new { style = "float:right;font-size: 13px;margin: 8px 0px;" })
    </header>
    <div class="module_content">
    <article class="stats_overview" style = "width:45%;float:left;margin-left:10px;">
        <div class="overview_today">
            <p class="overview_day">今日</p>
            <p class="overview_count">@(report.GetSightSiginTodayReport())</p>
            <p class="overview_type">今日签到数</p>
            <p class="overview_count">@(report.GetSightCommTodayReport())</p>
            <p class="overview_type">今日评论数</p>
            <p class="overview_count">@(report.GetNewClientTodayReport())</p>
            <p class="overview_type">今日新增客户端</p>
        </div>
        <div class="overview_previous">
            <p class="overview_day">昨天</p>
            <p class="overview_count">@(report.GetSightSiginYesterdayReport())</p>
            <p class="overview_type">昨天签到数</p>
            <p class="overview_count">@(report.GetSightCommYesterdayReport())</p>
            <p class="overview_type">昨天评论数</p>
            <p class="overview_count">@(report.GetNewClientYesterdayReport())</p>
            <p class="overview_type">昨天新增客户端</p>
        </div>
    </article>
    <article class="stats_overview" style = "width:45%;float:left; margin-left:10px;">
        <div class="overview_previous">
            <p class="overview_day">最近一周</p>
            <p class="overview_count">@(report.GetSightSiginWeekReport())</p>
            <p class="overview_type">最近一周签到数</p>
            <p class="overview_count">@(report.GetSightCommWeekReport())</p>
            <p class="overview_type">最近一周评论数</p>
            <p class="overview_count">@(report.GetNewClientWeekReport())</p>
            <p class="overview_type">最近一周新增客户端</p>
        </div>

        <div class="overview_previous">
            <p class="overview_day">最近一个月</p>
            <p class="overview_count">@(report.GetSightSiginMonthReport())</p>
            <p class="overview_type">最近一个月签到数</p>
            <p class="overview_count">@(report.GetSightCommMonthReport())</p>
            <p class="overview_type">最近一个月评论数</p>
            <p class="overview_count">@(report.GetNewClientMonthReport())</p>
            <p class="overview_type">最近一个月新增客户端</p>
        </div>
    </article>
        <div class="clear"></div>
    </div>
</article>
<script type="text/javascript">

    $(function () {
        $('.exportWordy').click(function () {


        });
    });

</script>
